package com.his.dictusageitem.vo;

import com.his.common.verification.group.Change;
import com.his.common.verification.group.Insert;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class DictUsageItemVo {
    /**
     *
     * 用法编码 codetype
     *
     * @mbggenerated
     */
    @NotEmpty(message = "获取用法编码失败",groups = Insert.class)
    @NotEmpty(message = "获取用法编码失败",groups = Change.class)
    private String usageid;

    /**
     *
     * 项目ID
     *
     * @mbggenerated
     */
    @NotEmpty(message = "项目ID不能为空",groups = Insert.class)
    @NotEmpty(message = "项目ID不能为空",groups = Change.class)
    private String itemid;

    /**
     *
     * 机构ID
     *
     * @mbggenerated
     */
    @NotEmpty(message = "机构ID不能为空",groups = Insert.class)
    @NotEmpty(message = "机构ID不能为空",groups = Change.class)
    private String orgid;
    /**
     *
     * 数量
     *
     * @mbggenerated
     */
    @NotNull(message = "数量不能为空",groups = Insert.class)
    private BigDecimal usageamount;

    /**
     *
     * 医院ID
     *
     * @mbggenerated
     */
    private String hospid;
}
